package com.javaxiaobear.module.system.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Data;

/**
 * 角色和部门关联 sys_role_dept
 *
 * @author javaxiaobear
 */
@Table(value = "sys_role_dept")
@Data
public class SysRoleDept {
  /** 角色ID */
  @Id
  @Column(value = "role_id")
  private Long roleId;

  /** 部门ID */
  @Id
  @Column(value = "dept_id")
  private Long deptId;
}
